package com.yzs.exam.service;

import com.github.pagehelper.PageInfo;
import com.yzs.exam.entity.UserEventLog;
import com.yzs.exam.viewmodel.admin.user.UserEventPageRequestVM;

import java.util.List;

/**
 * @author yzs
 * @create 2021-03-19 11:49
 */
public interface UserEventLogService extends BaseService<UserEventLog> {
    /**
     * 通过用户id查找用户日志
     * @param id
     * @return
     */
    List<UserEventLog> getUserEventLogByUserId(Integer id);

    /**
     * 用户日志页面vo
     * @param requestVM
     * @return
     */
    PageInfo<UserEventLog> page(UserEventPageRequestVM requestVM);


    List<Integer> selectMothCount();
}
